package cn.jx.asc.user.pojo;

public class Plan {
    private Integer planId;

    private Short seedlingTime;

    private Short groupTime;

    private Short flowerTime;

    private Short matureTime;

    private String cropType;

    private User user;

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Short getSeedlingTime() {
        return seedlingTime;
    }

    public void setSeedlingTime(Short seedlingTime) {
        this.seedlingTime = seedlingTime;
    }

    public Short getGroupTime() {
        return groupTime;
    }

    public void setGroupTime(Short groupTime) {
        this.groupTime = groupTime;
    }

    public Short getFlowerTime() {
        return flowerTime;
    }

    public void setFlowerTime(Short flowerTime) {
        this.flowerTime = flowerTime;
    }

    public Short getMatureTime() {
        return matureTime;
    }

    public void setMatureTime(Short matureTime) {
        this.matureTime = matureTime;
    }

    public String getCropType() {
        return cropType;
    }

    public void setCropType(String cropType) {
        this.cropType = cropType == null ? null : cropType.trim();
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Plan{" +
                "planId=" + planId +
                ", seedlingTime=" + seedlingTime +
                ", groupTime=" + groupTime +
                ", flowerTime=" + flowerTime +
                ", matureTime=" + matureTime +
                ", cropType='" + cropType + '\'' +
                ", user=" + user +
                '}';
    }
}